package com.astro.dao;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;

public class BaseHelperDAO {
	
	@Autowired
	private SessionFactory sessionFactory;
	
	public Session getCurrentSession () {
		return this.sessionFactory.getCurrentSession();
	}
}
